export type QuickMenu = {
  imgUrl: string;
  name: string;
  url: string;
  remark: string;
};

export interface MenuStore {
  nestedMenu: MenuItem[];
  flatMenuList: flatMenu[];
  quickMenuList: QuickMenu[];
  actions: {
    setMenuList: (menuItem: MenuItem[], flatMenuList: flatMenu[]) => void;
    clearMenu: () => void;
    setQuickMenuList: (list: QuickMenu[]) => void;
  };
}
export interface flatMenu {
  id: number;
  name: string;
  ORDER_NUM: number;
  pid: number;
  url: string;
  status: number;
}
export interface MenuItem {
  key: string;
  pid?: string;
  label: string;
  type?: string;
  url?: string;
  icon?: React.ReactNode;
  children?: MenuItem[];
}
